//
//  MusicCollectionViewCell.m
//  22-ALiMusic
//
//  Created by dllo on 16/8/14.
//  Copyright © 2016年 ZHW. All rights reserved.
//

#import "MusicCollectionViewCell.h"
#import "SmallData.h"
#import "UIImageView+WebCache.h"
@interface MusicCollectionViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *picImageView;
@property (weak, nonatomic) IBOutlet UILabel *descLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;

@end

@implementation MusicCollectionViewCell

- (void)setSmallData:(SmallData *)smallData {
    _smallData = smallData;
    _descLabel.text = smallData.desc;
    _nameLabel.text = smallData.name;
    [_picImageView sd_setImageWithURL:[NSURL URLWithString:smallData.picUrl]];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
